package com.tongji.housediy.events.commonEvent
{
	import flash.display.BitmapData;
	import flash.display.Loader;
	import flash.events.Event;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2011/6/
	 */ 
	public class LoadAdminEvent extends Event
	{
		public static const LOAD_BITMAP:String = "loadBitmap";
		public static const UPDATE_BITMAP:String = "updateBitmap";
		
		public var urlSrc:String;
		public var loader:Loader;
		public var bitmapData:BitmapData;
		
		public function LoadAdminEvent(type:String, urlSrc:String, bitmapData:BitmapData = null)
		{
			super(type);
			this.urlSrc = urlSrc;
			this.bitmapData = bitmapData;
		}
		
		override public function clone():Event
		{
			return new LoadAdminEvent(type, urlSrc, bitmapData);
		}
	}
}